package com.shop.loan.model.entity;

import com.shop.loan.model.common.RequestBase;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class UserByMybatis extends RequestBase {
    /**
     * id
     */
    private Long id;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 银行卡认证状态
     */
    private Boolean bankAuthStatus;

    /**
     * 
     */
    private String cardAddress;

    /**
     * 姓名
     */
    private String cardName;

    /**
     * 身份证号码
     */
    private String cardNum;

    /**
     * 紧急联系人认证状态
     */
    private Boolean contactAuthStatus;

    /**
     * 是否下单
     */
    private Boolean createOrder;

    /**
     * 注册时间
     */
    private Date createTime;

    /**
     * 
     */
    private Date deleteTime;

    /**
     * 
     */
    private String email;

    /**
     * 
     */
    private Integer expectDay;

    /**
     * 
     */
    private BigDecimal expectQuota;

    /**
     * 性别
     */
    private Integer gender;

    /**
     * 身份证反面照片
     */
    private String idCardPicBack;

    /**
     * 身份证正面照片
     */
    private String idCardPicFront;

    /**
     * 实名认证状态
     */
    private Boolean identityAuthStatus;

    /**
     * 进行中订单上限
     */
    private Integer ingNum;

    /**
     * 
     */
    private Boolean isDelete;

    /**
     * 风控状态
     */
    private Boolean machineStatus;

    /**
     * 手机号码
     */
    private String mobile;

    /**
     * 昵称
     */
    private String name;

    /**
     * 订单结清数量
     */
    private Integer orderEndNum;

    /**
     * 
     */
    private String registerIp;

    /**
     * 备注
     */
    private String remark;

    /**
     * 
     */
    private String userCheckRes;

    /**
     * 状态
     */
    private Integer userStatus;

    /**
     * 客户意愿
     */
    private Integer userWill;

    /**
     * 注册渠道
     */
    private Long channelId;

    /**
     * 专属客服
     */
    private Long serviceUserId;



    //进行中订单数（包含待审核）
    private Integer orderIngNum;

    //等待还款订单数
    private Integer orderWaitPay;


    private LoanOrderByMybatis loanOrder;
    private String channelName;
    private String channel_name;
    private Date finishTime;
    private List<UserContactByMybatis> contactByMybatisList;
    private String locationAddress;
    private String createTimeStr;
    private String serviceQrCode;
    private String facePhoto;
    private List<UserBankByMybatis> bankList;
    private Boolean blackStatus;
    private Boolean contactStatus;
    private String serviceUrl;

    private String iosUrl;
    private String androidUrl;
    private Long userId;

    private String ossByQnUrl;


    public UserByMybatis(Long id, Integer age, Boolean bankAuthStatus, String cardAddress, String cardName, String cardNum, Boolean contactAuthStatus, Boolean createOrder, Date createTime, Date deleteTime, String email, Integer expectDay, BigDecimal expectQuota, Integer gender, String idCardPicBack, String idCardPicFront, Boolean identityAuthStatus, Integer ingNum, Boolean isDelete, Boolean machineStatus, String mobile, String name, Integer orderEndNum, String registerIp, String remark, String userCheckRes, Integer userStatus, Integer userWill, Long channelId, Long serviceUserId) {
        this.id = id;
        this.age = age;
        this.bankAuthStatus = bankAuthStatus;
        this.cardAddress = cardAddress;
        this.cardName = cardName;
        this.cardNum = cardNum;
        this.contactAuthStatus = contactAuthStatus;
        this.createOrder = createOrder;
        this.createTime = createTime;
        this.deleteTime = deleteTime;
        this.email = email;
        this.expectDay = expectDay;
        this.expectQuota = expectQuota;
        this.gender = gender;
        this.idCardPicBack = idCardPicBack;
        this.idCardPicFront = idCardPicFront;
        this.identityAuthStatus = identityAuthStatus;
        this.ingNum = ingNum;
        this.isDelete = isDelete;
        this.machineStatus = machineStatus;
        this.mobile = mobile;
        this.name = name;
        this.orderEndNum = orderEndNum;
        this.registerIp = registerIp;
        this.remark = remark;
        this.userCheckRes = userCheckRes;
        this.userStatus = userStatus;
        this.userWill = userWill;
        this.channelId = channelId;
        this.serviceUserId = serviceUserId;
    }

    public UserByMybatis() {
        super();
    }

    /**
     * 获取id
     * @return id id
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置id
     * @param id id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取年龄
     * @return age 年龄
     */
    public Integer getAge() {
        return age;
    }

    /**
     * 设置年龄
     * @param age 年龄
     */
    public void setAge(Integer age) {
        this.age = age;
    }

    /**
     * 获取银行卡认证状态
     * @return bank_auth_status 银行卡认证状态
     */
    public Boolean getBankAuthStatus() {
        return bankAuthStatus;
    }

    /**
     * 设置银行卡认证状态
     * @param bankAuthStatus 银行卡认证状态
     */
    public void setBankAuthStatus(Boolean bankAuthStatus) {
        this.bankAuthStatus = bankAuthStatus;
    }

    /**
     * 获取
     * @return card_address 
     */
    public String getCardAddress() {
        return cardAddress;
    }

    /**
     * 设置
     * @param cardAddress 
     */
    public void setCardAddress(String cardAddress) {
        this.cardAddress = cardAddress == null ? null : cardAddress.trim();
    }

    /**
     * 获取姓名
     * @return card_name 姓名
     */
    public String getCardName() {
        return cardName;
    }

    /**
     * 设置姓名
     * @param cardName 姓名
     */
    public void setCardName(String cardName) {
        this.cardName = cardName == null ? null : cardName.trim();
    }

    /**
     * 获取身份证号码
     * @return card_num 身份证号码
     */
    public String getCardNum() {
        return cardNum;
    }

    /**
     * 设置身份证号码
     * @param cardNum 身份证号码
     */
    public void setCardNum(String cardNum) {
        this.cardNum = cardNum == null ? null : cardNum.trim();
    }

    /**
     * 获取紧急联系人认证状态
     * @return contact_auth_status 紧急联系人认证状态
     */
    public Boolean getContactAuthStatus() {
        return contactAuthStatus;
    }

    /**
     * 设置紧急联系人认证状态
     * @param contactAuthStatus 紧急联系人认证状态
     */
    public void setContactAuthStatus(Boolean contactAuthStatus) {
        this.contactAuthStatus = contactAuthStatus;
    }

    /**
     * 获取是否下单
     * @return create_order 是否下单
     */
    public Boolean getCreateOrder() {
        return createOrder;
    }

    /**
     * 设置是否下单
     * @param createOrder 是否下单
     */
    public void setCreateOrder(Boolean createOrder) {
        this.createOrder = createOrder;
    }

    /**
     * 获取注册时间
     * @return create_time 注册时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置注册时间
     * @param createTime 注册时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return delete_time 
     */
    public Date getDeleteTime() {
        return deleteTime;
    }

    /**
     * 设置
     * @param deleteTime 
     */
    public void setDeleteTime(Date deleteTime) {
        this.deleteTime = deleteTime;
    }

    /**
     * 获取
     * @return email 
     */
    public String getEmail() {
        return email;
    }

    /**
     * 设置
     * @param email 
     */
    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    /**
     * 获取
     * @return expect_day 
     */
    public Integer getExpectDay() {
        return expectDay;
    }

    /**
     * 设置
     * @param expectDay 
     */
    public void setExpectDay(Integer expectDay) {
        this.expectDay = expectDay;
    }

    /**
     * 获取
     * @return expect_quota 
     */
    public BigDecimal getExpectQuota() {
        return expectQuota;
    }

    /**
     * 设置
     * @param expectQuota 
     */
    public void setExpectQuota(BigDecimal expectQuota) {
        this.expectQuota = expectQuota;
    }

    /**
     * 获取性别
     * @return gender 性别
     */
    public Integer getGender() {
        return gender;
    }

    /**
     * 设置性别
     * @param gender 性别
     */
    public void setGender(Integer gender) {
        this.gender = gender;
    }

    /**
     * 获取身份证反面照片
     * @return id_card_pic_back 身份证反面照片
     */
    public String getIdCardPicBack() {
        return idCardPicBack;
    }

    /**
     * 设置身份证反面照片
     * @param idCardPicBack 身份证反面照片
     */
    public void setIdCardPicBack(String idCardPicBack) {
        this.idCardPicBack = idCardPicBack == null ? null : idCardPicBack.trim();
    }

    /**
     * 获取身份证正面照片
     * @return id_card_pic_front 身份证正面照片
     */
    public String getIdCardPicFront() {
        return idCardPicFront;
    }

    /**
     * 设置身份证正面照片
     * @param idCardPicFront 身份证正面照片
     */
    public void setIdCardPicFront(String idCardPicFront) {
        this.idCardPicFront = idCardPicFront == null ? null : idCardPicFront.trim();
    }

    /**
     * 获取实名认证状态
     * @return identity_auth_status 实名认证状态
     */
    public Boolean getIdentityAuthStatus() {
        return identityAuthStatus;
    }

    /**
     * 设置实名认证状态
     * @param identityAuthStatus 实名认证状态
     */
    public void setIdentityAuthStatus(Boolean identityAuthStatus) {
        this.identityAuthStatus = identityAuthStatus;
    }

    /**
     * 获取进行中订单上限
     * @return ing_num 进行中订单上限
     */
    public Integer getIngNum() {
        return ingNum;
    }

    /**
     * 设置进行中订单上限
     * @param ingNum 进行中订单上限
     */
    public void setIngNum(Integer ingNum) {
        this.ingNum = ingNum;
    }

    /**
     * 获取
     * @return is_delete 
     */
    public Boolean getIsDelete() {
        return isDelete;
    }

    /**
     * 设置
     * @param isDelete 
     */
    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

    /**
     * 获取风控状态
     * @return machine_status 风控状态
     */
    public Boolean getMachineStatus() {
        return machineStatus;
    }

    /**
     * 设置风控状态
     * @param machineStatus 风控状态
     */
    public void setMachineStatus(Boolean machineStatus) {
        this.machineStatus = machineStatus;
    }

    /**
     * 获取手机号码
     * @return mobile 手机号码
     */
    public String getMobile() {
        return mobile;
    }

    /**
     * 设置手机号码
     * @param mobile 手机号码
     */
    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    /**
     * 获取昵称
     * @return name 昵称
     */
    public String getName() {
        return name;
    }

    /**
     * 设置昵称
     * @param name 昵称
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * 获取订单结清数量
     * @return order_end_num 订单结清数量
     */
    public Integer getOrderEndNum() {
        return orderEndNum;
    }

    /**
     * 设置订单结清数量
     * @param orderEndNum 订单结清数量
     */
    public void setOrderEndNum(Integer orderEndNum) {
        this.orderEndNum = orderEndNum;
    }

    /**
     * 获取
     * @return register_ip 
     */
    public String getRegisterIp() {
        return registerIp;
    }

    /**
     * 设置
     * @param registerIp 
     */
    public void setRegisterIp(String registerIp) {
        this.registerIp = registerIp == null ? null : registerIp.trim();
    }

    /**
     * 获取备注
     * @return remark 备注
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 设置备注
     * @param remark 备注
     */
    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    /**
     * 获取
     * @return user_check_res 
     */
    public String getUserCheckRes() {
        return userCheckRes;
    }

    /**
     * 设置
     * @param userCheckRes 
     */
    public void setUserCheckRes(String userCheckRes) {
        this.userCheckRes = userCheckRes == null ? null : userCheckRes.trim();
    }

    /**
     * 获取状态
     * @return user_status 状态
     */
    public Integer getUserStatus() {
        return userStatus;
    }

    /**
     * 设置状态
     * @param userStatus 状态
     */
    public void setUserStatus(Integer userStatus) {
        this.userStatus = userStatus;
    }

    /**
     * 获取客户意愿
     * @return user_will 客户意愿
     */
    public Integer getUserWill() {
        return userWill;
    }

    /**
     * 设置客户意愿
     * @param userWill 客户意愿
     */
    public void setUserWill(Integer userWill) {
        this.userWill = userWill;
    }

    /**
     * 获取注册渠道
     * @return channel_id 注册渠道
     */
    public Long getChannelId() {
        return channelId;
    }

    /**
     * 设置注册渠道
     * @param channelId 注册渠道
     */
    public void setChannelId(Long channelId) {
        this.channelId = channelId;
    }

    /**
     * 获取专属客服
     * @return service_user_id 专属客服
     */
    public Long getServiceUserId() {
        return serviceUserId;
    }

    /**
     * 设置专属客服
     * @param serviceUserId 专属客服
     */
    public void setServiceUserId(Long serviceUserId) {
        this.serviceUserId = serviceUserId;
    }
}